<template>
  <div class="ne-container">
    <bring-card
        v-for="item in educationList"
        :key="item.indexCode"
        :row="item"
        is-audit
    />
    <van-empty v-if="!educationList.length" description="暂无数据"/>
  </div>
</template>

<script>
import BringCard from "./components/BringCard.vue";
import {tbMoralEducationList} from "../../api/tbMoralEducation";
export default {
  name: 'wx_pages_djzh_activityAudit',
  components: {BringCard},
  data() {
    return {
      educationList:[]
    }
  },
  methods: {
    async search(){
      this.$showLoading("查询中...")
      let res = await tbMoralEducationList({itemType:'1',approvalStatus:'0'})
      this.$hideLoading()
      if(res.data && res.data.length>0){
        this.educationList = res.data
      }else{
        this.educationList = []
      }
    },
  },
  onLoad() {
    this.search()
  }
}
</script>
